﻿using Domain.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 财务明细
    /// </summary>
    public class FinanceDetail:Entity
    {
        /// <summary>
        /// 会员编号
        /// </summary>
        [Length(30)]
        public string MemberNo { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        [Length(50)]
        public string Remark { get; set; }
        /// <summary>
        /// 支出
        /// </summary>
        public decimal FinanceOut { get; set; }
        /// <summary>
        /// 支入
        /// </summary>
        public decimal FinanceIn { get; set; }
        /// <summary>
        /// 钱包类型
        /// </summary>
        [Length(30)]
        public string WalletType { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 出入帐分类
        /// </summary>
        public FinanceType FinanceType { get; set; }

    }
}
